<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>输入框特效</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
<div class="wrapper">
  <div class="input-data">
    <input type="text" required>
    <div class="underline"></div>
    <label>Name</label>
  </div>
</div>
</body>
</html>